﻿<Window x:Class="Presence_Art_Screen_Saver.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Title="Window"  WindowStyle="None" ResizeMode="NoResize"   MinHeight="600" MinWidth="800" 
    x:Name="window" Foreground="{x:Null}" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<Window.Resources>
	<Storyboard x:Key="OnLoaded">
		<PointAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(Panel.Background).(RadialGradientBrush.GradientOrigin)" RepeatBehavior="Forever">
			<SplinePointKeyFrame KeyTime="00:00:00" Value="1.161,0.826"/>
			<SplinePointKeyFrame KeyTime="00:00:10" Value="-0.359,0.921"/>
			<SplinePointKeyFrame KeyTime="00:00:20" Value="1.177,0.917"/>
		</PointAnimationUsingKeyFrames>
		<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" RepeatBehavior="Forever">
			<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
			<SplineDoubleKeyFrame KeyTime="00:00:10" Value="0.036"/>
		</DoubleAnimationUsingKeyFrames>
		<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(Panel.Background).(Brush.RelativeTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" RepeatBehavior="Forever">
			<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.152" KeySpline="0,0,0.772,0.124"/>
			<SplineDoubleKeyFrame KeyTime="00:00:10" Value="-0.034" KeySpline="0,0,0.772,0.124"/>
			<SplineDoubleKeyFrame KeyTime="00:00:20" Value="0.152" KeySpline="0,0,0.772,0.124"/>
		</DoubleAnimationUsingKeyFrames>
		<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(Panel.Background).(Brush.RelativeTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" RepeatBehavior="Forever">
			<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.18"/>
			<SplineDoubleKeyFrame KeyTime="00:00:10" Value="0.204"/>
			<SplineDoubleKeyFrame KeyTime="00:00:20" Value="0.18"/>
		</DoubleAnimationUsingKeyFrames>   
  </Storyboard>
	</Window.Resources>
    <Window.Background>
    	<RadialGradientBrush Center="0.65,0.75" GradientOrigin="0.879,0.795" RadiusX="0.8" RadiusY="0.8">
    		<RadialGradientBrush.RelativeTransform>
    			<TransformGroup>
    				<ScaleTransform ScaleX="0.837" ScaleY="0.932"/>
    				<SkewTransform AngleX="0" AngleY="0"/>
    				<RotateTransform Angle="0"/>
    				<TranslateTransform X="0.152" Y="0.18"/>
    			</TransformGroup>
    		</RadialGradientBrush.RelativeTransform>
    		<GradientStop Color="#FA7C83C8" Offset="0.036"/>
    		<GradientStop Color="#B2171F6E" Offset="0.531"/>
    	</RadialGradientBrush>
    </Window.Background>

	<Window.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
	<EventTrigger.Actions>
    <BeginStoryboard x:Name="OnLoaded_BeginStoryboard" Storyboard="{DynamicResource OnLoaded}"/>
   </EventTrigger.Actions>
		</EventTrigger>
	</Window.Triggers>
    <Canvas x:Name="mainGrid">
        <Label x:Name="lblNoConnection" Visibility="Hidden" Foreground="White" IsHitTestVisible="False" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" Content="Communicator is not active or signed in."/>
    </Canvas>

</Window>